package com.ziq.zcamp.place

import android.content.Context
import android.content.Intent
import com.ziq.base.base.BaseActivity
import com.ziq.zcamp.manager.GlobalContextManager
import com.ziq.zcamp.search.SearchMainActivity
import dagger.hilt.android.AndroidEntryPoint


@AndroidEntryPoint
class PlaceRankActivity : BaseActivity() {

    companion object {
        fun open(context: Context, adCode:String? = null){
            val intent = Intent(context, PlaceRankActivity::class.java)
            if(adCode?.isNotEmpty() == true){
                intent.putExtra("adCode", adCode)
            }
            GlobalContextManager.startActivity(context, intent)
        }
    }
}